<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-medical-outpatient" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
		
		<p>
			<span class="badge">提示</span>
			在此你可以对<span class="label-info"><strong>门诊信息</strong></span>进行查询!
		</p>
	</div>
	<div class="condition easyui-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<form class="condition-form">
			<table> 	
				<tr>
					<th>科室名称</th>
					<td><input name="doct_depart_name" id="doct_depart_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
					<th>医生姓名</th>
					<td><input id="doct_name" name="doct_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
					<th>就诊编号</th>
					<td><input id="patient_no" name="patient_no" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
					<th>就诊时间起始</th>
					<td><input name="feeat_start" id="feeat_start" class="easyui-datebox easyui-validatebox" style="width:150px" data-options="required:true"/></td>
					<th>就诊时间截止</th>
					<td><input id="feeat_end" name="feeat_end" class="easyui-datebox easyui-validatebox" style="width:150px"/></td>														
				</tr>
				
			</table>
		</form>
	</div>
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>				
				<td style="padding-left:2px">
					<input class="searchbox" type="text"/>
				</td>
				<td style="padding-left:2px">
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn" plain="true" >查询条件</a>
				</td>
				<td style="padding-left:2px">
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn" iconCls="icon-search" plain="true" >执行查询</a>
				</td>
			</tr>
		</table>
	</div>
	
	<table class="easyui-datagrid dg-list" 
		data-options="rownumbers:true,
		animate: true,						
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',						
		fitColumns: true,
		checkOnSelect:true,
		selectOnCheck:true,
		pagination : true">
		
		<thead>						
			<tr>				
				<th field="doct_depart_name" width="80" align="center">科室名称</th>				
				<th field="doct_name" width="60" align="center">医生姓名</th>
				<th field="patient_name" width="60" align="center">患者姓名</th>
				<th field="patient_no" width="100" align="center">就诊编号</th>
				<th field="feeat" width="60" align="center">就诊时间</th>								
			</tr>
		</thead>
		
	</table>
	  
	<div id='medical-outpatient-win' class="easyui-window" data-options="closed:true" title='缺陷管理'>  		
	</div>
</div> 

 
<script>
requirejs(['listPageModule','outpatient','domReady!'],function(flowedit,outpatient,doc){
	flowedit.init({doc:doc,
		rootId:'panel-medical-outpatient',
		subSystemCode:'medical',
		moduleCode:'medicalOutpatient',
		editWindow:'medical-outpatient-win',
		listToolBar:'div.tb-list',
		initQueryParams:{flowtype:'0'},
		initElement:outpatient.initElement,
		conditionExtends:outpatient.getConditionValue,
		rowClick:outpatient.rowClick		
	});
});	
</script>

